package com.ibeeking.found.msg.service.mapper;


import com.ibeeking.found.common.base.BaseMapper;
import com.ibeeking.found.msg.service.common.dos.WxMpGroupMessageDO;
import com.ibeeking.found.msg.service.common.po.WxMpGroupUserMessagePO;
import com.ibeeking.found.msg.service.common.query.WxMpGroupMessagePageQuery;
import com.ibeeking.found.msg.service.common.vo.WxMpGroupMessagePageVO;
import com.ibeeking.found.msg.service.common.vo.WxMpGroupUserMessageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;


public interface WxMpGroupMessageMapper extends BaseMapper<WxMpGroupMessageDO> {

    /**
     * 查询公众号用户消息
     * @param page
     * @param po
     * @return
     */
    IPage<WxMpGroupUserMessageVO> queryUserMessage(Page page , @Param("po") WxMpGroupUserMessagePO po);

    IPage<WxMpGroupMessagePageVO> pageList(Page page, @Param("query") WxMpGroupMessagePageQuery pageQuery);

}
